﻿using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LayoutLoggingService.Client
{
    /// <summary>
    /// Abstracts the service request (headers and payload).
    /// </summary>
    public class Request
    {
        /// <summary>
        /// Xml file name
        /// </summary>
        public string FileName { get; set; }

        /// <summary>
        /// header.
        /// </summary>
        public NameValueCollection Header { get; set; }

        /// <summary>
        /// The Payload XML (encoded in UTF-8).
        /// </summary>
        public string Payload { get; set; }

        /// <summary>
        /// ErrMessage
        /// </summary>
        public string ErrMessage { get; set; }

        /// <summary>
        /// Default Url
        /// </summary>
        public string DefaultUrl { get; set; }
    }
}
